﻿using System;
using System.Linq;
using System.Text;

namespace FytSoa.Core.Model.Sw
{
    ///<summary>
    ///商城-活动管理 
    ///</summary>
    public partial class Sw_activity
    {
        public Sw_activity()
        {


        }
        /// <summary>
        /// Desc:唯一编号
        /// Default:
        /// Nullable:False
        /// </summary>           
        public string Guid { get; set; }

        /// <summary>
        /// Desc:活动名称
        /// Default:
        /// Nullable:False
        /// </summary>           
        public string ActivityTitle { get; set; }

        /// <summary>
        /// Desc:活动副标题
        /// Default:
        /// Nullable:True
        /// </summary>           
        public string SubTitle { get; set; }

        /// <summary>
        /// Desc:活动类型 1=秒杀/2=闪购/3=拼单
        /// Default:1
        /// Nullable:False
        /// </summary>           
        public int Types { get; set; } = 1;

        /// <summary>
        /// Desc:团购所属人数
        /// Default:0
        /// Nullable:False
        /// </summary>           
        public int GroupBuyNum { get; set; } = 0;

        /// <summary>
        /// Desc:团购参加人数
        /// Default:0
        /// Nullable:False
        /// </summary>           
        public int GroupBuyJoinNum { get; set; } = 0;

        /// <summary>
        /// Desc:状态 是否可用
        /// Default:b'1'
        /// Nullable:False
        /// </summary>           
        public bool Status { get; set; } = true;

        /// <summary>
        /// Desc:活动宣传图
        /// Default:
        /// Nullable:True
        /// </summary>           
        public string Cover { get; set; }

        /// <summary>
        /// Desc:开始时间
        /// Default:
        /// Nullable:False
        /// </summary>           
        public DateTime? BeginTime { get; set; }

        /// <summary>
        /// Desc:结束时间
        /// Default:
        /// Nullable:False
        /// </summary>           
        public DateTime? EndTime { get; set; }

        /// <summary>
        /// Desc:活动添加时间
        /// Default:
        /// Nullable:False
        /// </summary>           
        public DateTime AddTime { get; set; } = DateTime.Now;

    }
}
